package com.zmn.oms.common.dio.normal.statistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author sunlife
 * @date:2022/8/9 下午4:30
 * description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("支付金额统计查询入参")
public class PayAmountStatQuery implements Serializable {

    private static final long serialVersionUID = -7617071471738416857L;

    @ApiParam(name = "channelId", required = true, value = "渠道ID")
    @NotNull(message = "渠道ID不能为空")
    private Integer channelId;

    @ApiParam(name = "payStartTime", required = true, value = "支付开始时间")
    @NotNull(message = "参数不能为空")
    private Date payStartTime;

    @ApiParam(name = "payEndTime", required = true, value = "支付开始时间")
    @NotNull(message = "参数不能为空")
    private Date payEndTime;
}
